.markdownViewer {
  margin: 0 auto;
  // width: max(50%, 600px);
  img {
    max-width: 100%;
    height: auto; /* 保持图片的纵横比 */
    display: block;
    margin: 0 auto; /* 居中图片 */
  }
  table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
    font-size: 18px;
  }
  
  table, th, td {
    border: 1px solid #ddd;
  }
  
  th, td {
    padding: 8px;
    text-align: left;
  }
  
  th {
    background-color: rgba(244, 244, 244, 0.4);
  }
}
.codes {
  position: relative;
  .titlebar {
    font-size: 1rem;
    position: absolute;
    top: 0;
    right: 0;
    padding: 12px 24px;
    display: flex;
    gap: 24px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    color: #cdcdcd;
    .tablerCopy {
      cursor: pointer;
      margin-top: 6px;
      width: 1em;
      height: 1em;
      --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M7 9.667A2.667 2.667 0 0 1 9.667 7h8.666A2.667 2.667 0 0 1 21 9.667v8.666A2.667 2.667 0 0 1 18.333 21H9.667A2.667 2.667 0 0 1 7 18.333z'/%3E%3Cpath d='M4.012 16.737A2 2 0 0 1 3 15V5c0-1.1.9-2 2-2h10c.75 0 1.158.385 1.5 1'/%3E%3C/g%3E%3C/svg%3E");
      background-color: currentColor;
      -webkit-mask-image: var(--svg);
      mask-image: var(--svg);
      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;
      -webkit-mask-size: 100% 100%;
      mask-size: 100% 100%;
    }
  }
}